Next:
Transformer model
, Previous:
Auto encoder & Generative model
, Up:
Index
save & load
model save
model
.
save
(
'FILESNAME.h5'
,
overwrite
=
True
,
include_optimizer
=
True
,
save_format
=
'h5'
)
model load
import
tensorflow
as
tf
model
=
tf
.
keras
.
models
.
load_model
(
'FILESNAME.h5'
)